Index: applications/order/template/entry/OrderEntryCatalogTabBar.ftl
===================================================================
--- applications/order/template/entry/OrderEntryCatalogTabBar.ftl (revision 0)
+++ applications/order/template/entry/OrderEntryCatalogTabBar.ftl (revision 0)
@@ -0,0 +1,40 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
Index: applications/order/template/entry/OrderEntryCheckOutTabBar.ftl
===================================================================
--- applications/order/template/entry/OrderEntryCheckOutTabBar.ftl (revision 0)
+++ applications/order/template/entry/OrderEntryCheckOutTabBar.ftl (revision 0)
@@ -0,0 +1,52 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if stepTitleId??>
+ <#assign stepTitle = uiLabelMap.get(stepTitleId)>
+#if>
+
Index: applications/order/template/entry/OrderEntryTabBar.ftl
===================================================================
--- applications/order/template/entry/OrderEntryTabBar.ftl (revision 0)
+++ applications/order/template/entry/OrderEntryTabBar.ftl (revision 0)
@@ -0,0 +1,60 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
Index: applications/order/template/entry/SetItemShipGroups.ftl
===================================================================
--- applications/order/template/entry/SetItemShipGroups.ftl (revision 0)
+++ applications/order/template/entry/SetItemShipGroups.ftl (revision 0)
@@ -0,0 +1,112 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+
+#if>
Index: applications/order/template/entry/SplitShip.ftl
===================================================================
--- applications/order/template/entry/SplitShip.ftl (revision 0)
+++ applications/order/template/entry/SplitShip.ftl (revision 0)
@@ -0,0 +1,263 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+
Index: applications/order/template/entry/additionalPartyListing.ftl
===================================================================
--- applications/order/template/entry/additionalPartyListing.ftl (revision 0)
+++ applications/order/template/entry/additionalPartyListing.ftl (revision 0)
@@ -0,0 +1,64 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#-- ==================== Party Listing dialog box ========================= -->
+<#if additionalPartyRoleMap?has_content>
+
+#if>
Index: applications/order/template/entry/addrsettings.ftl
===================================================================
--- applications/order/template/entry/addrsettings.ftl (revision 0)
+++ applications/order/template/entry/addrsettings.ftl (revision 0)
@@ -0,0 +1,80 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
Index: applications/order/template/entry/billsettings.ftl
===================================================================
--- applications/order/template/entry/billsettings.ftl (revision 0)
+++ applications/order/template/entry/billsettings.ftl (revision 0)
@@ -0,0 +1,516 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+ <#if request.getAttribute("paymentMethodId")?? || ( (paymentMethodList?has_content || billingAccountList?has_content) && !requestParameters.createNew??)>
+ <#-- initial screen when we have a associated party -->
+
+ <#elseif paymentMethodType?? || finalizeMode?default("") == "payment">
+ <#-- after initial screen; show detailed screens for selected type -->
+ <#if paymentMethodType == "CC">
+ <#if postalAddress?has_content>
+
+ #if>
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
Index: applications/order/template/entry/cart/addItemsToShoppingList.ftl
===================================================================
--- applications/order/template/entry/cart/addItemsToShoppingList.ftl (revision 0)
+++ applications/order/template/entry/cart/addItemsToShoppingList.ftl (revision 0)
@@ -0,0 +1,61 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+<#if (shoppingLists??) && (shoppingCartSize > 0)>
+
+
+
${uiLabelMap.OrderAddOrderToShoppingList}
+
+
+
+
+
+
+
+
+
+
+
+#if>
Index: applications/order/template/entry/cart/associatedProducts.ftl
===================================================================
--- applications/order/template/entry/cart/associatedProducts.ftl (revision 0)
+++ applications/order/template/entry/cart/associatedProducts.ftl (revision 0)
@@ -0,0 +1,47 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if (shoppingCart.getOrderType() == "SALES_ORDER")>
+ <#assign associatedProducts = Static["org.ofbiz.order.shoppingcart.product.ProductDisplayWorker"].getRandomCartProductAssoc(request, true)!>
+#if>
+
+<#if associatedProducts?has_content>
+
+
+
${uiLabelMap.OrderHelpAlsoInterestedIn}
+
+
+
+ <#-- random complementary products -->
+ <#list associatedProducts as assocProduct>
+
+#if>
Index: applications/order/template/entry/cart/javascript.ftl
===================================================================
--- applications/order/template/entry/cart/javascript.ftl (revision 0)
+++ applications/order/template/entry/cart/javascript.ftl (revision 0)
@@ -0,0 +1,105 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
Index: applications/order/template/entry/cart/manualPromotions.ftl
===================================================================
--- applications/order/template/entry/cart/manualPromotions.ftl (revision 0)
+++ applications/order/template/entry/cart/manualPromotions.ftl (revision 0)
@@ -0,0 +1,46 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if allProductPromos?has_content>
+
+
+
${uiLabelMap.OrderManualPromotions}
+
+
+
+
+
+
+
+#if>
Index: applications/order/template/entry/cart/minicart.ftl
===================================================================
--- applications/order/template/entry/cart/minicart.ftl (revision 0)
+++ applications/order/template/entry/cart/minicart.ftl (revision 0)
@@ -0,0 +1,91 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
+<#if shoppingCart?has_content>
+ <#assign shoppingCartSize = shoppingCart.size()>
+<#else>
+ <#assign shoppingCartSize = 0>
+#if>
+
+
Index: applications/order/template/entry/cart/promoCodes.ftl
===================================================================
--- applications/order/template/entry/cart/promoCodes.ftl (revision 0)
+++ applications/order/template/entry/cart/promoCodes.ftl (revision 0)
@@ -0,0 +1,41 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if shoppingCart.getOrderType() == "SALES_ORDER">
+
+
+
${uiLabelMap.OrderPromotionCouponCodes}
+
+
+
+
+
+
+
+#if>
Index: applications/order/template/entry/cart/promoText.ftl
===================================================================
--- applications/order/template/entry/cart/promoText.ftl (revision 0)
+++ applications/order/template/entry/cart/promoText.ftl (revision 0)
@@ -0,0 +1,46 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#if showPromoText?? && showPromoText>
+
+
+
${uiLabelMap.OrderSpecialOffers}
+
+
+
+ <#-- show promotions text -->
+ <#list productPromos as productPromo>
+
+#if>
Index: applications/order/template/entry/cart/promoUseDetailsInline.ftl
===================================================================
--- applications/order/template/entry/cart/promoUseDetailsInline.ftl (revision 0)
+++ applications/order/template/entry/cart/promoUseDetailsInline.ftl (revision 0)
@@ -0,0 +1,77 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
${uiLabelMap.OrderPromotionInformation}:
+
${uiLabelMap.OrderPromotionsApplied}:
+
+ <#list shoppingCart.getProductPromoUseInfoIter() as productPromoUseInfo>
+
+ <#-- TODO: when promo pretty print is done show promo short description here -->
+ ${uiLabelMap.OrderPromotion} ${uiLabelMap.CommonDetails}
+ <#if productPromoUseInfo.productPromoCodeId?has_content> - ${uiLabelMap.OrderWithPromoCode} [${productPromoUseInfo.productPromoCodeId}]#if>
+ <#if (productPromoUseInfo.totalDiscountAmount != 0)> - ${uiLabelMap.CommonTotalValue} <@ofbizCurrency amount=(-1*productPromoUseInfo.totalDiscountAmount) isoCode=shoppingCart.getCurrency()/>#if>
+ <#if productPromoUseInfo.productPromoCodeId?has_content>
+ ${uiLabelMap.OrderRemovePromotion}
+ #if>
+
- Could be used for ${productPromoUseInfo.quantityLeftInActions} more discounted item<#if (productPromoUseInfo.quantityLeftInActions > 1)>s#if> if added to your cart.
+
Index: applications/order/template/entry/cart/promotioncategories.ftl
===================================================================
--- applications/order/template/entry/cart/promotioncategories.ftl (revision 0)
+++ applications/order/template/entry/cart/promotioncategories.ftl (revision 0)
@@ -0,0 +1,57 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#if productPromoCategoryIncludeList?has_content || productPromoCategoryExcludeList?has_content || productPromoCategoryAlwaysList?has_content>
+
+#if>
Index: applications/order/template/entry/cart/promotiondetails.ftl
===================================================================
--- applications/order/template/entry/cart/promotiondetails.ftl (revision 0)
+++ applications/order/template/entry/cart/promotiondetails.ftl (revision 0)
@@ -0,0 +1,28 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
Index: applications/order/template/entry/cart/promotionproducts.ftl
===================================================================
--- applications/order/template/entry/cart/promotionproducts.ftl (revision 0)
+++ applications/order/template/entry/cart/promotionproducts.ftl (revision 0)
@@ -0,0 +1,68 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if productIds?has_content>
+
+#if>
Index: applications/order/template/entry/cart/promotionsApplied.ftl
===================================================================
--- applications/order/template/entry/cart/promotionsApplied.ftl (revision 0)
+++ applications/order/template/entry/cart/promotionsApplied.ftl (revision 0)
@@ -0,0 +1,23 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if (shoppingCartSize?default(0) > 0)>
+
+ ${screens.render(promoUseDetailsInlineScreen)}
+#if>
Index: applications/order/template/entry/cart/showAllPromotions.ftl
===================================================================
--- applications/order/template/entry/cart/showAllPromotions.ftl (revision 0)
+++ applications/order/template/entry/cart/showAllPromotions.ftl (revision 0)
@@ -0,0 +1,33 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
${uiLabelMap.OrderSpecialOffers}
+
+
+ <#-- show promotions text -->
+ <#list productPromosAllShowable as productPromo>
+
+
+<#if (shoppingCartSize > 0)>
+ ${screens.render(promoUseDetailsInlineScreen)}
+#if>
Index: applications/order/template/entry/cart/showcart.ftl
===================================================================
--- applications/order/template/entry/cart/showcart.ftl (revision 0)
+++ applications/order/template/entry/cart/showcart.ftl (revision 0)
@@ -0,0 +1,195 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+<#if shoppingCart.getOrderType() == "PURCHASE_ORDER">
+ <#assign target="productAvailabalityByFacility">
+<#else>
+ <#assign target="getProductInventoryAvailable">
+#if>
+
+
+
+
+
Index: applications/order/template/entry/cart/showcartitems.ftl
===================================================================
--- applications/order/template/entry/cart/showcartitems.ftl (revision 0)
+++ applications/order/template/entry/cart/showcartitems.ftl (revision 0)
@@ -0,0 +1,355 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#-- Continuation of showcart.ftl: List of order items and forms to modify them. -->
+<#macro showAssoc productAssoc>
+ <#assign productAssocType = (delegator.findOne("ProductAssocType", {"productAssocTypeId" : productAssoc.productAssocTypeId}, false))/>
+ <#assign assocProduct = (delegator.findOne("Product", {"productId" : productAssoc.productIdTo}, false))/>
+ <#if assocProduct?has_content>
+
+
Index: applications/order/template/entry/catalog/ProductUomDropDownOnly.ftl
===================================================================
--- applications/order/template/entry/catalog/ProductUomDropDownOnly.ftl (revision 0)
+++ applications/order/template/entry/catalog/ProductUomDropDownOnly.ftl (revision 0)
@@ -0,0 +1,26 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#if product?? && mainProducts??>
+
+#if>
\ No newline at end of file
Index: applications/order/template/entry/catalog/advancedsearch.ftl
===================================================================
--- applications/order/template/entry/catalog/advancedsearch.ftl (revision 0)
+++ applications/order/template/entry/catalog/advancedsearch.ftl (revision 0)
@@ -0,0 +1,163 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#assign searchOptionsHistoryList = Static["org.ofbiz.product.product.ProductSearchSession"].getSearchOptionsHistoryList(session)>
+<#assign currentCatalogId = Static["org.ofbiz.product.catalog.CatalogWorker"].getCurrentCatalogId(request)>
+
${uiLabelMap.ProductAdvancedSearchInCategory}
+
+
+
Index: applications/order/template/entry/catalog/breadcrumbs.ftl
===================================================================
--- applications/order/template/entry/catalog/breadcrumbs.ftl (revision 0)
+++ applications/order/template/entry/catalog/breadcrumbs.ftl (revision 0)
@@ -0,0 +1,69 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
Index: applications/order/template/entry/catalog/category.ftl
===================================================================
--- applications/order/template/entry/catalog/category.ftl (revision 0)
+++ applications/order/template/entry/catalog/category.ftl (revision 0)
@@ -0,0 +1,27 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+${pages.get("/entry/OrderEntryTabBar.ftl")}
+<#if productCategory?has_content>
+ ${pages.get(detailTemplate)}
+<#else>
+
+#if>
+
+
Index: applications/order/template/entry/catalog/categorydetail.ftl
===================================================================
--- applications/order/template/entry/catalog/categorydetail.ftl (revision 0)
+++ applications/order/template/entry/catalog/categorydetail.ftl (revision 0)
@@ -0,0 +1,172 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+<#macro paginationControls>
+ <#assign viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / viewSize?double)>
+ <#if (viewIndexMax?int > 0)>
+
+#if>
Index: applications/order/template/entry/catalog/choosecatalog.ftl
===================================================================
--- applications/order/template/entry/catalog/choosecatalog.ftl (revision 0)
+++ applications/order/template/entry/catalog/choosecatalog.ftl (revision 0)
@@ -0,0 +1,40 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#-- Only show if there is more than 1 (one) catalog, no sense selecting when there is only one option... -->
+<#if (catalogCol?size > 1)>
+
+
+
${uiLabelMap.ProductChooseCatalog}
+
+
+
+
+
+#if>
Index: applications/order/template/entry/catalog/compareproducts.ftl
===================================================================
--- applications/order/template/entry/catalog/compareproducts.ftl (revision 0)
+++ applications/order/template/entry/catalog/compareproducts.ftl (revision 0)
@@ -0,0 +1,189 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+ <#-- check to see if introductionDate hasn't passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
${uiLabelMap.ProductNotYetAvailable}
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)/>
+
+ <#-- check to see if introductionDate hasn't passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
${uiLabelMap.ProductNotYetAvailable}
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)/>
+
Index: applications/order/template/entry/catalog/compareproductslist.ftl
===================================================================
--- applications/order/template/entry/catalog/compareproductslist.ftl (revision 0)
+++ applications/order/template/entry/catalog/compareproductslist.ftl (revision 0)
@@ -0,0 +1,56 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
\ No newline at end of file
Index: applications/order/template/entry/catalog/configproductdetail.ftl
===================================================================
--- applications/order/template/entry/catalog/configproductdetail.ftl (revision 0)
+++ applications/order/template/entry/catalog/configproductdetail.ftl (revision 0)
@@ -0,0 +1,686 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#-- variable setup -->
+<#assign productContentWrapper = productContentWrapper!>
+<#assign price = priceMap!>
+<#-- end variable setup -->
+
+<#-- virtual product javascript -->
+${virtualJavaScript!}
+
+
+
+
+
+ #if>
+
+ <#-- for prices:
+ - if totalPrice is present, use it (totalPrice is the price calculated from the parts)
+ - if price < competitivePrice, show competitive or "Compare At" price
+ - if price < listPrice, show list price
+ - if price < defaultPrice and defaultPrice < listPrice, show default
+ - if isSale show price with salePrice style and print "On Sale!"
+ -->
+ <#if totalPrice??>
+
+
+ <#-- check to see if introductionDate hasn't passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
+
${uiLabelMap.ProductProductNotYetMadeAvailable}.
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
+
${uiLabelMap.ProductProductNoLongerAvailable}.
+ <#-- check to see if the product requires inventory check and has inventory -->
+ <#else>
+ <#if inStock>
+ <#if product.requireAmount?default("N") == "Y">
+ <#assign hiddenStyle = "visible">
+ <#else>
+ <#assign hiddenStyle = "hidden">
+ #if>
+
+ <#if commonFeatureResultId_has_next>
+
+ #if>
+ #list>
+#if>
+
Index: applications/order/template/entry/catalog/editProduct.ftl
===================================================================
--- applications/order/template/entry/catalog/editProduct.ftl (revision 0)
+++ applications/order/template/entry/catalog/editProduct.ftl (revision 0)
@@ -0,0 +1,24 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("CATALOG", "_CREATE", session)>
+
+#if>
Index: applications/order/template/entry/catalog/inlineProductDetail.ftl
===================================================================
--- applications/order/template/entry/catalog/inlineProductDetail.ftl (revision 0)
+++ applications/order/template/entry/catalog/inlineProductDetail.ftl (revision 0)
@@ -0,0 +1,392 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+${virtualJavaScript!}
+<#assign addedJavaScript = requestAttributes.addedJavaScript?default("N")/>
+<#if ("N" == addedJavaScript)>
+ ${setRequestAttribute("addedJavaScript", "Y")}
+
+#if>
+
+<#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
+
+#if>
+
+
+<#assign price = priceMap!/>
+
+ <#-- check to see if introductionDate hasnt passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
+
${uiLabelMap.ProductProductNotYetMadeAvailable}.
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
+
${uiLabelMap.ProductProductNoLongerAvailable}.
+ <#-- check to see if the product requires inventory check and has inventory -->
+ <#elseif product.virtualVariantMethodEnum! != "VV_FEATURETREE">
+ <#if inStock>
+ <#if product.requireAmount?default("N") == "Y">
+ <#assign hiddenStyle = "visible">
+ <#else>
+ <#assign hiddenStyle = "hidden">
+ #if>
+
Index: applications/order/template/entry/catalog/keywordsearch.ftl
===================================================================
--- applications/order/template/entry/catalog/keywordsearch.ftl (revision 0)
+++ applications/order/template/entry/catalog/keywordsearch.ftl (revision 0)
@@ -0,0 +1,94 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+ <#list productIds as productId> <#-- note that there is no boundary range because that is being done before the list is put in the content -->
+ ${setRequestAttribute("optProductId", productId)}
+ ${setRequestAttribute("listIndex", productId_index)}
+ ${screens.render(productsummaryScreen)}
+ #list>
+
+#if>
Index: applications/order/template/entry/catalog/keywordsearchbox.ftl
===================================================================
--- applications/order/template/entry/catalog/keywordsearchbox.ftl (revision 0)
+++ applications/order/template/entry/catalog/keywordsearchbox.ftl (revision 0)
@@ -0,0 +1,77 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+
+
${uiLabelMap.ProductSearchCatalog}
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: applications/order/template/entry/catalog/product.ftl
===================================================================
--- applications/order/template/entry/catalog/product.ftl (revision 0)
+++ applications/order/template/entry/catalog/product.ftl (revision 0)
@@ -0,0 +1,25 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+${pages.get("/entry/OrderEntryTabBar.ftl")}
+<#if requestAttributes.product?has_content>
+ ${pages.get(requestAttributes.detailTemplate)}
+<#else>
+ <#assign productId = requestAttributes.productId!>
+
+#if>
Index: applications/order/template/entry/catalog/productdetail.ftl
===================================================================
--- applications/order/template/entry/catalog/productdetail.ftl (revision 0)
+++ applications/order/template/entry/catalog/productdetail.ftl (revision 0)
@@ -0,0 +1,710 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#-- variable setup -->
+<#assign price = priceMap!/>
+<#-- end variable setup -->
+
+<#-- virtual product javascript -->
+${virtualJavaScript!}
+
+
+
+ #if>
+
+ <#-- for prices:
+ - if price < competitivePrice, show competitive or "Compare At" price
+ - if price < listPrice, show list price
+ - if price < defaultPrice and defaultPrice < listPrice, show default
+ - if isSale show price with salePrice style and print "On Sale!"
+ -->
+ <#if price.competitivePrice?? && price.price?? && price.price?double < price.competitivePrice?double>
+
+ #if>
+ <#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
+ <#if (showPriceDetails?? && showPriceDetails?default("N") == "Y")>
+ <#if price.orderItemPriceInfos??>
+ <#list price.orderItemPriceInfos as orderItemPriceInfo>
+
+ <#-- check to see if introductionDate hasnt passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
+
${uiLabelMap.ProductProductNotYetMadeAvailable}.
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
+
${uiLabelMap.ProductProductNoLongerAvailable}.
+ <#-- check to see if the product requires inventory check and has inventory -->
+ <#elseif product.virtualVariantMethodEnum! != "VV_FEATURETREE">
+ <#if inStock>
+ <#if product.requireAmount?default("N") == "Y">
+ <#assign hiddenStyle = "visible">
+ <#else>
+ <#assign hiddenStyle = "hidden">
+ #if>
+
+ <#--td nowrap="nowrap" align="right">Number of days
+ <#if (product.reservMaxPersons!)?is_number>
+
Number of persons
+
+ #if>
+
Quantity
+
+
+
+ <#else/>
+ disabled="disabled"#if>/>
+ #if>
+ <#-- This calls addItem() so that variants of virtual products cant be added before distinguishing features are selected, it should not be changed to additemSubmit() -->
+ ${uiLabelMap.OrderAddToCart}
+ #if>
+ <#if requestParameters.category_id??>
+
+ #if>
+ #if>
+
+
Index: applications/order/template/entry/catalog/productsummary.ftl
===================================================================
--- applications/order/template/entry/catalog/productsummary.ftl (revision 0)
+++ applications/order/template/entry/catalog/productsummary.ftl (revision 0)
@@ -0,0 +1,235 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+${virtualJavaScript!}
+
+<#if product??>
+ <#-- variable setup -->
+ <#if backendPath?default("N") == "Y">
+ <#assign productUrl><@ofbizCatalogUrl productId=product.productId productCategoryId=categoryId/>#assign>
+ <#else>
+ <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId productCategoryId=categoryId/>#assign>
+ #if>
+
+ <#if requestAttributes.productCategoryMember??>
+ <#assign prodCatMem = requestAttributes.productCategoryMember>
+ #if>
+ <#assign smallImageUrl = productContentWrapper.get("SMALL_IMAGE_URL", "url")!>
+ <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg">#if>
+ <#-- end variable setup -->
+ <#assign productInfoLinkId = "productInfoLink">
+ <#assign productInfoLinkId = productInfoLinkId + product.productId/>
+ <#assign productDetailId = "productDetailId"/>
+ <#assign productDetailId = productDetailId + product.productId/>
+
+ <#-- check to see if introductionDate hasn't passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+
${uiLabelMap.ProductNotYetAvailable}
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
+
${uiLabelMap.ProductNoLongerAvailable}
+ <#-- check to see if it is a rental item; will enter parameters on the detail screen-->
+ <#elseif product.productTypeId! == "ASSET_USAGE">
+ ${uiLabelMap.OrderMakeBooking}...
+ <#-- check to see if it is an aggregated or configurable product; will enter parameters on the detail screen-->
+ <#elseif product.productTypeId! == "AGGREGATED" || product.productTypeId! == "AGGREGATED_SERVICE">
+ ${uiLabelMap.OrderConfigure}...
+ <#-- check to see if the product is a virtual product -->
+ <#elseif product.isVirtual?? && product.isVirtual == "Y">
+ ${uiLabelMap.OrderChooseVariations}...
+ <#-- check to see if the product requires an amount -->
+ <#elseif product.requireAmount?? && product.requireAmount == "Y">
+ ${uiLabelMap.OrderChooseAmount}...
+ <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN">
+ ${uiLabelMap.OrderRent}...
+ <#else>
+
+
+ <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
+
+ <#assign productCategory = delegator.findOne("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", prodCatMem.productCategoryId), false)/>
+ <#if productCategory.productCategoryTypeId != "BEST_SELL_CATEGORY">
+
+ #if>
+ #if>
+ #if>
+
+<#else>
+ ${uiLabelMap.ProductErrorProductNotFound}.
+#if>
Index: applications/order/template/entry/catalog/quickadd.ftl
===================================================================
--- applications/order/template/entry/catalog/quickadd.ftl (revision 0)
+++ applications/order/template/entry/catalog/quickadd.ftl (revision 0)
@@ -0,0 +1,69 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if productCategory?has_content>
+
+ #if>
+#if>
+
+<#if productCategoryMembers?? && 0 < productCategoryMembers?size>
+
+<#else>
+
+#if>
+
Index: applications/order/template/entry/catalog/quickaddsummary.ftl
===================================================================
--- applications/order/template/entry/catalog/quickaddsummary.ftl (revision 0)
+++ applications/order/template/entry/catalog/quickaddsummary.ftl (revision 0)
@@ -0,0 +1,63 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if product??>
+
+
+ #if>
+
+
+ <#-- check to see if introductionDate hasn't passed yet -->
+ <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
+ ${uiLabelMap.ProductNotYetAvailable}
+ <#-- check to see if salesDiscontinuationDate has passed -->
+ <#elseif product.salesDiscontinuationDate?? && nowTimestamp.before(product.salesDiscontinuationDate)>
+ ${uiLabelMap.ProductNoLongerAvailable}
+ <#-- check to see if the product is a virtual product -->
+ <#elseif product.isVirtual?default("N") == "Y">
+ ${uiLabelMap.OrderChooseVariations}...
+ <#else>
+
+ #if>
+
+<#else>
+
${uiLabelMap.ProductErrorProductNotFound}.
+#if>
+
+
Index: applications/order/template/entry/catalog/sidedeepcategory.ftl
===================================================================
--- applications/order/template/entry/catalog/sidedeepcategory.ftl (revision 0)
+++ applications/order/template/entry/catalog/sidedeepcategory.ftl (revision 0)
@@ -0,0 +1,100 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#-- variable setup and worker calls -->
+<#if (requestAttributes.topLevelList)??><#assign topLevelList = requestAttributes.topLevelList>#if>
+<#if (requestAttributes.curCategoryId)??><#assign curCategoryId = requestAttributes.curCategoryId>#if>
+
+<#-- looping macro -->
+<#macro categoryList parentCategory category>
+ <#-- jleroux: This whole block does not make sense to me -->
+ <#--if parentCategory.productCategoryId != category.productCategoryId>
+ <#local pStr = "/~pcategory=" + parentCategory.productCategoryId>
+ #if-->
+ <#if curCategoryId?? && curCategoryId == category.productCategoryId>
+
+#if>
Index: applications/order/template/entry/catalog/tagsearch.ftl
===================================================================
--- applications/order/template/entry/catalog/tagsearch.ftl (revision 0)
+++ applications/order/template/entry/catalog/tagsearch.ftl (revision 0)
@@ -0,0 +1,84 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+ <#list productIds as productId> <#-- note that there is no boundary range because that is being done before the list is put in the content -->
+ ${setRequestAttribute("optProductId", productId)}
+ ${setRequestAttribute("listIndex", productId_index)}
+ ${screens.render(productsummaryScreen)}
+ #list>
+
+#if>
Index: applications/order/template/entry/checkinits.ftl
===================================================================
--- applications/order/template/entry/checkinits.ftl (revision 0)
+++ applications/order/template/entry/checkinits.ftl (revision 0)
@@ -0,0 +1,195 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#assign shoppingCartOrderType = "">
+<#assign shoppingCartProductStore = "NA">
+<#assign shoppingCartChannelType = "">
+<#if shoppingCart??>
+ <#assign shoppingCartOrderType = shoppingCart.getOrderType()>
+ <#assign shoppingCartProductStore = shoppingCart.getProductStoreId()?default("NA")>
+ <#assign shoppingCartChannelType = shoppingCart.getChannelType()?default("")>
+<#else>
+<#-- allow the order type to be set in parameter, so only the appropriate section (Sales or Purchase Order) shows up -->
+ <#if parameters.orderTypeId?has_content>
+ <#assign shoppingCartOrderType = parameters.orderTypeId>
+ #if>
+#if>
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session)>
+<#if shoppingCartOrderType != "PURCHASE_ORDER">
+
+ #if>
+#if>
Index: applications/order/template/entry/checkoutoptions.ftl
===================================================================
--- applications/order/template/entry/checkoutoptions.ftl (revision 0)
+++ applications/order/template/entry/checkoutoptions.ftl (revision 0)
@@ -0,0 +1,534 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+<#assign shipping = !shoppingCart.containAllWorkEffortCartItems()> <#-- contains items which need shipping? -->
+
+
+
Index: applications/order/template/entry/checkoutpayment.ftl
===================================================================
--- applications/order/template/entry/checkoutpayment.ftl (revision 0)
+++ applications/order/template/entry/checkoutpayment.ftl (revision 0)
@@ -0,0 +1,268 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+
+
+
+<#assign cart = shoppingCart! />
+
+
+
+
Index: applications/order/template/entry/checkoutshippingaddress.ftl
===================================================================
--- applications/order/template/entry/checkoutshippingaddress.ftl (revision 0)
+++ applications/order/template/entry/checkoutshippingaddress.ftl (revision 0)
@@ -0,0 +1,149 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+<#assign cart = shoppingCart!/>
+
+
+
Index: applications/order/template/entry/customertaxinfo.ftl
===================================================================
--- applications/order/template/entry/customertaxinfo.ftl (revision 0)
+++ applications/order/template/entry/customertaxinfo.ftl (revision 0)
@@ -0,0 +1,42 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<#if partyTaxAuthInfoAndDetailList??>
+ <#list partyTaxAuthInfoAndDetailList as partyTaxAuthInfoAndDetail>
+
+#if>
Index: applications/order/template/entry/custsettings.ftl
===================================================================
--- applications/order/template/entry/custsettings.ftl (revision 0)
+++ applications/order/template/entry/custsettings.ftl (revision 0)
@@ -0,0 +1,140 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
Index: applications/order/template/entry/editShipAddress.ftl
===================================================================
--- applications/order/template/entry/editShipAddress.ftl (revision 0)
+++ applications/order/template/entry/editShipAddress.ftl (revision 0)
@@ -0,0 +1,128 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+
+
+
+ <#if postalAddress?has_content>
+
+
+
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
Index: applications/order/template/entry/optionsettings.ftl
===================================================================
--- applications/order/template/entry/optionsettings.ftl (revision 0)
+++ applications/order/template/entry/optionsettings.ftl (revision 0)
@@ -0,0 +1,220 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
Index: applications/order/template/entry/order/orderheaderinfo.ftl
===================================================================
--- applications/order/template/entry/order/orderheaderinfo.ftl (revision 0)
+++ applications/order/template/entry/order/orderheaderinfo.ftl (revision 0)
@@ -0,0 +1,189 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+
+ <#-- order name -->
+ <#if (orderName?has_content)>
+
+
+ ${uiLabelMap.OrderOrderName}
+
+
+
+ ${orderName}
+
+
+
+ #if>
+ <#-- order for party -->
+ <#if (orderForParty??)>
+
Index: applications/order/template/entry/order/orderitems.ftl
===================================================================
--- applications/order/template/entry/order/orderitems.ftl (revision 0)
+++ applications/order/template/entry/order/orderitems.ftl (revision 0)
@@ -0,0 +1,159 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+ <#break><#-- need only the first one -->
+ #list>
+ #if>
+ #if>
+
+ <#-- now show adjustment details per line item -->
+ <#assign itemAdjustments = localOrderReadHelper.getOrderItemAdjustments(orderItem)>
+ <#list itemAdjustments as orderItemAdjustment>
+
Index: applications/order/template/entry/order/orderpaymentinfo.ftl
===================================================================
--- applications/order/template/entry/order/orderpaymentinfo.ftl (revision 0)
+++ applications/order/template/entry/order/orderpaymentinfo.ftl (revision 0)
@@ -0,0 +1,116 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if paymentMethod?has_content || paymentMethodType?has_content || billingAccount?has_content>
+
+
+
${uiLabelMap.AccountingPaymentInformation}
+
+
+ <#-- order payment info -->
+
+ <#-- offline payment address infomation :: change this to use Company's address -->
+ <#if !paymentMethod?has_content && paymentMethodType?has_content>
+
+#if>
Index: applications/order/template/entry/order/shipGroupConfirmSummary.ftl
===================================================================
--- applications/order/template/entry/order/shipGroupConfirmSummary.ftl (revision 0)
+++ applications/order/template/entry/order/shipGroupConfirmSummary.ftl (revision 0)
@@ -0,0 +1,121 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#--
+Ship group summary for order confirmation. Lists each ship group, its
+destination address, products and quantities associated with it,
+and similar information. This is designed to be tacked on to the
+standard order confirmation page and to be re-usable by other screens.
+-->
+
+<#if !(cart??)><#assign cart = shoppingCart!/>#if>
+
+<#if cart??>
+
+
+
${uiLabelMap.OrderShippingInformation}
+
+
+
+
+ <#-- header -->
+
+
+
${uiLabelMap.OrderDestination}
+
${uiLabelMap.PartySupplier}
+
${uiLabelMap.ProductShipmentMethod}
+
${uiLabelMap.ProductItem}
+
${uiLabelMap.ProductQuantity}
+
+
+
+ <#-- BEGIN LIST SHIP GROUPS -->
+ <#--
+ The structure of this table is one row per line item, grouped by ship group.
+ The address column spans a number of rows equal to the number of items of its group.
+ -->
+
+ <#list cart.getShipGroups() as cartShipInfo>
+ <#assign numberOfItems = cartShipInfo.getShipItems().size()>
+ <#if (numberOfItems > 0)>
+
+ <#-- spacer goes here -->
+
+
+
+
+ <#-- address destination column (spans a number of rows = number of cart items in it) -->
+
+
+
+ <#-- list each ShoppingCartItem in this group -->
+
+ <#assign itemIndex = 0 />
+ <#list cartShipInfo.getShipItems() as shoppingCartItem>
+ <#if (itemIndex > 0)>
#if>
+ <#assign itemIndex = itemIndex + 1 />
+ #list>
+
+
+
+ #if>
+ #list>
+
+ <#-- END LIST SHIP GROUPS -->
+
+
+
+
+#if>
Index: applications/order/template/entry/orderHeaderInfo.ftl
===================================================================
--- applications/order/template/entry/orderHeaderInfo.ftl (revision 0)
+++ applications/order/template/entry/orderHeaderInfo.ftl (revision 0)
@@ -0,0 +1,83 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
+<#assign currencyUomId = shoppingCart.getCurrency()>
+<#assign partyId = shoppingCart.getPartyId()>
+<#assign partyMap = Static["org.ofbiz.party.party.PartyWorker"].getPartyOtherValues(request, partyId, "party", "person", "partyGroup")>
+<#assign agreementId = shoppingCart.getAgreementId()!>
+<#assign quoteId = shoppingCart.getQuoteId()!>
+
+<#if shoppingCart?has_content>
+ <#assign shoppingCartSize = shoppingCart.size()>
+<#else>
+ <#assign shoppingCartSize = 0>
+#if>
+
+
+
Index: applications/order/template/entry/orderShortcuts.ftl
===================================================================
--- applications/order/template/entry/orderShortcuts.ftl (revision 0)
+++ applications/order/template/entry/orderShortcuts.ftl (revision 0)
@@ -0,0 +1,53 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
+
+
+
Index: applications/order/template/entry/orderagreements.ftl
===================================================================
--- applications/order/template/entry/orderagreements.ftl (revision 0)
+++ applications/order/template/entry/orderagreements.ftl (revision 0)
@@ -0,0 +1,214 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
Index: applications/order/template/entry/orderparty.ftl
===================================================================
--- applications/order/template/entry/orderparty.ftl (revision 0)
+++ applications/order/template/entry/orderparty.ftl (revision 0)
@@ -0,0 +1,57 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session)>
+
+#if>
Index: applications/order/template/entry/orderterms.ftl
===================================================================
--- applications/order/template/entry/orderterms.ftl (revision 0)
+++ applications/order/template/entry/orderterms.ftl (revision 0)
@@ -0,0 +1,130 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+
+
+
+
+ <#-- checkoutsetupform is used for the order entry "continue" link -->
+
+ <#if orderTerms?has_content && parameters.createNew?default('') != 'Y'>
+
Index: applications/order/template/entry/poheader.ftl
===================================================================
--- applications/order/template/entry/poheader.ftl (revision 0)
+++ applications/order/template/entry/poheader.ftl (revision 0)
@@ -0,0 +1,90 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+
+
+ <#-- left side -->
+
+
+ <#-- header box -->
+
+
+
PO For ${partyId!}
+
+
+
+
Supplier Information Here
+
+
+
+ <#-- end of header box -->
+
+ <#-- payment box -->
+
+
+
Place Holder
+
+
+
+
+
+
+
+ <#-- end of payment box -->
+
+
+ <#-- end of left side -->
+
+ <#-- left/right spacer -->
+
+ <#-- end of left/right spacer -->
+
+ <#-- right side -->
+
+
+ <#-- contact box -->
+
+
+
Place Holder
+
+
+
+
+
+
+
+ <#-- end of contact box -->
+
+ <#-- shipping info box -->
+
+
+
Place Holder
+
+
+
+
+
+
+
+ <#-- end of shipping info box -->
+
+
+ <#-- end of right side -->
+
+
Index: applications/order/template/entry/setAdditionalParty.ftl
===================================================================
--- applications/order/template/entry/setAdditionalParty.ftl (revision 0)
+++ applications/order/template/entry/setAdditionalParty.ftl (revision 0)
@@ -0,0 +1,136 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#-- ==================== Party Selection dialog box ========================= -->
+
Index: applications/order/template/entry/shipsettings.ftl
===================================================================
--- applications/order/template/entry/shipsettings.ftl (revision 0)
+++ applications/order/template/entry/shipsettings.ftl (revision 0)
@@ -0,0 +1,316 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#if security.hasEntityPermission("ORDERMGR", "_CREATE", session) || security.hasEntityPermission("ORDERMGR", "_PURCHASE_CREATE", session)>
+
+<#-- Purchase Orders -->
+
+ <#if facilityMaps??>
+
+ <#else>
+
+<#-- Sales Orders -->
+
+
+ #if>
+
+<#-- select a party id to ship to instead -->
+
+
+
+<#else>
+
${uiLabelMap.OrderViewPermissionError}
+#if>
\ No newline at end of file
Index: applications/order/template/entry/survey.ftl
===================================================================
--- applications/order/template/entry/survey.ftl (revision 0)
+++ applications/order/template/entry/survey.ftl (revision 0)
@@ -0,0 +1,27 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<#-- Render the survey -->
+<#if requestAttributes.surveyWrapper?? && requestAttributes.surveyAction??>
+
+<#else>
+
${uiLabelMap.OrderNothingToDoHere}
+#if>
Index: applications/order/template/order/GiftCertificates.ftl
===================================================================
--- applications/order/template/order/GiftCertificates.ftl (revision 0)
+++ applications/order/template/order/GiftCertificates.ftl (revision 0)
@@ -0,0 +1,59 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+